//
//  CommissionCell.m
//  Tospur-text
//
//  Created by  grogue on 15/10/9.
//  Copyright © 2015年 Tospur_hewei. All rights reserved.
//

#import "CommissionCell.h"
#import "BuildDetailModel.h"
@interface CommissionCell ()

@property (weak, nonatomic) IBOutlet UILabel *typeLabel;
@property (weak, nonatomic) IBOutlet UILabel *priceLabel;
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
@property (weak, nonatomic) IBOutlet UILabel *descripLabel;
@end


@implementation CommissionCell
- (void)setCellWithModel:(id)model{
    BuildDetailModel *buildDetailModel = model;
    self.typeLabel.text = buildDetailModel.GardenComTypeName;
    self.priceLabel.text = [NSString stringWithFormat:@"%@元/套",buildDetailModel.GardenCom];
    self.timeLabel.text = [NSString stringWithFormat:@"%@终止",buildDetailModel.GardenComEndTime];
    self.descripLabel.text = buildDetailModel.GardenComDis;
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
